package jpa.entitys.promis.construction;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;
import java.util.Date;

import jpa.entitys.common.CommonEntity;


/**
 * The persistent class for the ACCOUNT_PAYABLE_DEDUCT database table.
 * 
 */
@Entity
@Table(name="ACCOUNT_PAYABLE_DEDUCT")
public class AccountPayableDeduct extends CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private AccountPayableDeductPK id;

	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}
	
	@Column(name="BALANCE_AMOUNT_FC")
	private BigDecimal balanceAmountFc;

	@Column(name="BALANCE_AMOUNT_LC")
	private BigDecimal balanceAmountLc;

	@Column(name="CREATED_BY")
	private String createdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="CREATED_ON")
	private Date createdOn;

	@Column(name="DEDUCT_AMOUNT_FC")
	private BigDecimal deductAmountFc;

	@Column(name="DEDUCT_AMOUNT_LC")
	private BigDecimal deductAmountLc;

	@Column(name="DEDUCT_VAT_AMOUNT")
	private BigDecimal deductVatAmount;

	@Column(name="LAST_UPD_BY")
	private String lastUpdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="LAST_UPD_ON")
	private Date lastUpdOn;

	@Column(name="PO_NO")
	private BigDecimal poNo;

	@Column(name="PO_REVISION_NO")
	private BigDecimal poRevisionNo;

	@Column(name="PO_SERIES")
	private String poSeries;

	@Column(name="PO_TYPE")
	private String poType;

	@Column(name="REF_NUMBER")
	private BigDecimal refNumber;

	@Column(name="REF_SERIES")
	private String refSeries;

	@Column(name="REF_TYPE")
	private String refType;

	private String status;

	@Column(name="TYPE_OF_AP")
	private String typeOfAp;

    public AccountPayableDeduct() {
    }

	public AccountPayableDeductPK getId() {
		return this.id;
	}

	public void setId(AccountPayableDeductPK id) {
		this.id = id;
	}
	
	public BigDecimal getBalanceAmountFc() {
		return this.balanceAmountFc;
	}

	public void setBalanceAmountFc(BigDecimal balanceAmountFc) {
		this.balanceAmountFc = balanceAmountFc;
	}

	public BigDecimal getBalanceAmountLc() {
		return this.balanceAmountLc;
	}

	public void setBalanceAmountLc(BigDecimal balanceAmountLc) {
		this.balanceAmountLc = balanceAmountLc;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

	public BigDecimal getDeductAmountFc() {
		return this.deductAmountFc;
	}

	public void setDeductAmountFc(BigDecimal deductAmountFc) {
		this.deductAmountFc = deductAmountFc;
	}

	public BigDecimal getDeductAmountLc() {
		return this.deductAmountLc;
	}

	public void setDeductAmountLc(BigDecimal deductAmountLc) {
		this.deductAmountLc = deductAmountLc;
	}

	public BigDecimal getDeductVatAmount() {
		return this.deductVatAmount;
	}

	public void setDeductVatAmount(BigDecimal deductVatAmount) {
		this.deductVatAmount = deductVatAmount;
	}

	public String getLastUpdBy() {
		return this.lastUpdBy;
	}

	public void setLastUpdBy(String lastUpdBy) {
		this.lastUpdBy = lastUpdBy;
	}

	public Date getLastUpdOn() {
		return this.lastUpdOn;
	}

	public void setLastUpdOn(Date lastUpdOn) {
		this.lastUpdOn = lastUpdOn;
	}

	public BigDecimal getPoNo() {
		return this.poNo;
	}

	public void setPoNo(BigDecimal poNo) {
		this.poNo = poNo;
	}

	public BigDecimal getPoRevisionNo() {
		return this.poRevisionNo;
	}

	public void setPoRevisionNo(BigDecimal poRevisionNo) {
		this.poRevisionNo = poRevisionNo;
	}

	public String getPoSeries() {
		return this.poSeries;
	}

	public void setPoSeries(String poSeries) {
		this.poSeries = poSeries;
	}

	public String getPoType() {
		return this.poType;
	}

	public void setPoType(String poType) {
		this.poType = poType;
	}

	public BigDecimal getRefNumber() {
		return this.refNumber;
	}

	public void setRefNumber(BigDecimal refNumber) {
		this.refNumber = refNumber;
	}

	public String getRefSeries() {
		return this.refSeries;
	}

	public void setRefSeries(String refSeries) {
		this.refSeries = refSeries;
	}

	public String getRefType() {
		return this.refType;
	}

	public void setRefType(String refType) {
		this.refType = refType;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTypeOfAp() {
		return this.typeOfAp;
	}

	public void setTypeOfAp(String typeOfAp) {
		this.typeOfAp = typeOfAp;
	}

}